@import "../font/iconfont.css";
@import "./mixing.less";
@import "./iconfont.less";
@import "./font.less";

html {
  min-height: 100vh;
}

body {
  overflow-y: scroll;
  font-family: Arial, Helvetica, sans-serif;
  // background: #651a80;
  //兼容 IOS<11.2
  padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
  //兼容 IOS>11.2
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  font-size: 24px;
  overflow-y: scroll !important;
}

//禁用滚动条
::-webkit-scrollbar {
  display: none;
}

.am-button {
  &.circle {
    border-radius: 42px;

    &:before {
      border-radius: 42px;
      display: none;
    }
  }
}

@keyframes cirle-anim {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.am-icon-loading {
  background-image: url("~@images/loading.png");

  > use {
    display: none;
  }
}

.am-modal-mask {
  background-color: rgba(0, 0, 0, 0.7) !important;
}

// 弹窗
.my-modal {
  &.am-modal-transparent {
    width: 600px;

    .am-modal-content {
      border-radius: 20px;

      .am-modal-body {
        padding: 0 40px 40px 40px;
      }
    }
  }

  .content {
    text-align: left;
    margin-bottom: 40px;
    overflow: hidden;

    h3 {
      color: #333;
      margin: 10px 0 30px;
      font-size: 34px;
    }

    p {
      color: #333;
      margin: 20px 0 8px 0;
    }

    &.center {
      text-align: center;
    }
  }

  .ant-modal-mask {
    opacity: 0;
  }

  .alert-btn {
    width: 248px;
    height: 80px;
    line-height: 80px;
    border-radius: 40px;
    background: linear-gradient(to right, #fe3264, #ff3333);
    color: #fff;
    font-size: 30px;
    margin-left: 24px;

    &:before {
      border-radius: 24px;
      display: none;
    }

    &.alert-btn-one {
      min-width: 140px;
    }

    &.cancel-btn {
      background: #f7f7f7;
      color: #999;
      margin-left: 0;
    }
  }

  .close-btn-top {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 100px;
    height: 100px;
    color: #969696;
    background-color: #ededed;
    border-radius: 50px;

    .iconfont {
      position: absolute;
      left: 20px;
      bottom: 16px;
      font-size: 28px;
    }
  }
}

.am-checkbox-agree {
  .am-checkbox-inner {
    width: 18px;
    height: 18px;

    &:after {
      top: 2px;
      left: 5px;
      content: "";
      width: 5px;
      height: 9px;
    }
  }
}

.my-list {
  font-size: 24px;
  background: #fff;
  color: #333;
  padding-left: 24px;

  .my-list__item {
    min-height: 50px;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 30px 76px 30px 0;
    border-bottom: 1px solid #f4f4f4;

    &:last-child {
      border: none;
    }

    &.inline {
      align-items: center;
    }

    &.has-line {
      border-bottom: 1px solid #f4f4f4;
    }
  }

  .list-content {
    flex: 1;

    .list-content__title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 28px;
      color: #333;
      font-weight: 700;

      > div {
        display: flex;
        align-items: center;
      }

      .left {
        color: #999;
        font-weight: 400;
      }

      .list-content__title--main {
        max-width: 330px;
        .mixin-single-ellipsis();
      }

      .tag {
        background: #e39361;
        min-width: 56px;
        height: 26px;
        line-height: 28px;
        font-size: 18px;
        border-radius: 13px;
        color: #fff;
        box-sizing: border-box;
        text-align: center;
        margin-left: 14px;
        display: inline-block;
      }
    }

    .brief {
      color: #999;
      margin-top: 12px;
      .mixin-multi-ellipsis();
    }
  }

  .left-icon {
    flex: 0;
    margin-right: 14px;

    .iconfont {
      font-size: 30px;
      overflow: hidden;
    }
  }

  .right-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    font-size: 22px;
    transform: translateY(-50%);
    color: #999;

    .iconfont {
      color: #dedede;
      font-size: 20px;
      font-weight: 600;
    }
  }
}

@font-face {
  font-family: "YMYY";
  src: url("../font/FZZH-YMYYTJW.TTF");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "HCSGH";
  src: url("../font/FZSJ-HCSGHK.TTF");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "HXNY";
  src: url("../font/FZHXNYTJW.TTF");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "QiaoM";
  src: url("../font/FZQiaoMTJW.TTF");
  font-weight: normal;
  font-style: normal;
}
